'use strict';

const Service = require('../core/common');

class IntegralInsService extends Service {

  findOne(payload) {
    const ctx = this.ctx;

    return ctx.model.IntegralIns.findOne(payload);
  }

  create(params) {
    const ctx = this.ctx;

    return ctx.model.IntegralIns.create(params);
  }

}

module.exports = IntegralInsService;